package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.admin.domain.Patient;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 挂号管理对象 register
 * 
 * @author ruoyi
 * @date 2023-01-11
 */
public class Register extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 挂号单号 */
    @Excel(name = "挂号单号")
    private Long rNo;

    /** 挂号时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "挂号时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rStartDate;

    /** 医生 */
    @Excel(name = "医生")
    private String rDoctor;

    /** 挂号费 */
    @Excel(name = "挂号费")
    private String rRegister;

    /** 诊疗费 */
    @Excel(name = "诊疗费")
    private String rDisease;

    /** 挂号员 */
    @Excel(name = "挂号员")
    private String rRegisterClerk;

    /** 接诊类型 */
    @Excel(name = "接诊类型")
    private String tType;

    /** 科室 */
    @Excel(name = "科室")
    private String tDepar;

    /** 接诊状态 */
    @Excel(name = "接诊状态")
    private Long tStatus;

    /** 患者id */
    @Excel(name = "患者id")
    private String patientId;
    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String pName;

    /** 患者卡号 */
    @Excel(name = "患者卡号")
    private Long pNo;

    /** 患者年龄 */
    @Excel(name = "患者年龄")
    private Long pAge;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pStartDate;

    /** 患者性别 */
    @Excel(name = "患者性别")
    private Long pSex;

    /** 患者手机号 */
    @Excel(name = "患者手机号")
    private Long pPhone;

    /** 患者身份证 */
    @Excel(name = "患者身份证")
    private String pCard;

    /** 省份/市区 */
    @Excel(name = "省份/市区")
    private String pProvince;

    /** 县/镇/区 */
    @Excel(name = "县/镇/区")
    private String pPlace;

    /** 备注 */
    @Excel(name = "备注")
    private String pArea;

    @Excel(name = "接诊状态")
    private Integer status;

    @Excel(name = "医生")
    private String sName;

    @Excel(name = "科室")
    private String dDepartment;
    /** 应收金额 */
    @Excel(name = "应收金额")
    private Long cReceivable;

    /** 优惠金额 */
    @Excel(name = "优惠金额")
    private Long cDiscount;

    /** 折扣 */
    @Excel(name = "折扣")
    private Long cRebate;

    /** 医保支付 */
    @Excel(name = "医保支付")
    private Long cMedical;

    /** 实收金额 */
    @Excel(name = "实收金额")
    private Long cRealityMoney;

    /** 找零 */
    @Excel(name = "找零")
    private Long cGiveMoney;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String cPayment;

    /** 收费日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收费日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cStartDate;

    /** 退费金额 */
    @Excel(name = "退费金额")
    private Long cRefund;

    /** 退费日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退费日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cEndDate;

    /** 退费方式 */
    @Excel(name = "退费方式")
    private Long cRefundPayment;

    /** 收费员 */
    @Excel(name = "收费员")
    private String cChecker;



    /** 收款备注 */
    @Excel(name = "收款备注")
    private String cRemark;

    /** 挂号管理信息 */
    private List<Patient> patientList;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getrNo() {
        return rNo;
    }

    public void setrNo(Long rNo) {
        this.rNo = rNo;
    }

    public Date getrStartDate() {
        return rStartDate;
    }

    public void setrStartDate(Date rStartDate) {
        this.rStartDate = rStartDate;
    }

    public String getrDoctor() {
        return rDoctor;
    }

    public void setrDoctor(String rDoctor) {
        this.rDoctor = rDoctor;
    }

    public String getrRegister() {
        return rRegister;
    }

    public void setrRegister(String rRegister) {
        this.rRegister = rRegister;
    }

    public String getrDisease() {
        return rDisease;
    }

    public void setrDisease(String rDisease) {
        this.rDisease = rDisease;
    }

    public String getrRegisterClerk() {
        return rRegisterClerk;
    }

    public void setrRegisterClerk(String rRegisterClerk) {
        this.rRegisterClerk = rRegisterClerk;
    }

    public String gettType() {
        return tType;
    }

    public void settType(String tType) {
        this.tType = tType;
    }

    public String gettDepar() {
        return tDepar;
    }

    public void settDepar(String tDepar) {
        this.tDepar = tDepar;
    }

    public Long gettStatus() {
        return tStatus;
    }

    public void settStatus(Long tStatus) {
        this.tStatus = tStatus;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public Long getpNo() {
        return pNo;
    }

    public void setpNo(Long pNo) {
        this.pNo = pNo;
    }

    public Long getpAge() {
        return pAge;
    }

    public void setpAge(Long pAge) {
        this.pAge = pAge;
    }

    public Date getpStartDate() {
        return pStartDate;
    }

    public void setpStartDate(Date pStartDate) {
        this.pStartDate = pStartDate;
    }

    public Long getpSex() {
        return pSex;
    }

    public void setpSex(Long pSex) {
        this.pSex = pSex;
    }

    public Long getpPhone() {
        return pPhone;
    }

    public void setpPhone(Long pPhone) {
        this.pPhone = pPhone;
    }

    public String getpCard() {
        return pCard;
    }

    public void setpCard(String pCard) {
        this.pCard = pCard;
    }

    public String getpProvince() {
        return pProvince;
    }

    public void setpProvince(String pProvince) {
        this.pProvince = pProvince;
    }

    public String getpPlace() {
        return pPlace;
    }

    public void setpPlace(String pPlace) {
        this.pPlace = pPlace;
    }

    public String getpArea() {
        return pArea;
    }

    public void setpArea(String pArea) {
        this.pArea = pArea;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getdDepartment() {
        return dDepartment;
    }

    public void setdDepartment(String dDepartment) {
        this.dDepartment = dDepartment;
    }

    public Long getcReceivable() {
        return cReceivable;
    }

    public void setcReceivable(Long cReceivable) {
        this.cReceivable = cReceivable;
    }

    public Long getcDiscount() {
        return cDiscount;
    }

    public void setcDiscount(Long cDiscount) {
        this.cDiscount = cDiscount;
    }

    public Long getcRebate() {
        return cRebate;
    }

    public void setcRebate(Long cRebate) {
        this.cRebate = cRebate;
    }

    public Long getcMedical() {
        return cMedical;
    }

    public void setcMedical(Long cMedical) {
        this.cMedical = cMedical;
    }

    public Long getcRealityMoney() {
        return cRealityMoney;
    }

    public void setcRealityMoney(Long cRealityMoney) {
        this.cRealityMoney = cRealityMoney;
    }

    public Long getcGiveMoney() {
        return cGiveMoney;
    }

    public void setcGiveMoney(Long cGiveMoney) {
        this.cGiveMoney = cGiveMoney;
    }

    public String getcPayment() {
        return cPayment;
    }

    public void setcPayment(String cPayment) {
        this.cPayment = cPayment;
    }

    public Date getcStartDate() {
        return cStartDate;
    }

    public void setcStartDate(Date cStartDate) {
        this.cStartDate = cStartDate;
    }

    public Long getcRefund() {
        return cRefund;
    }

    public void setcRefund(Long cRefund) {
        this.cRefund = cRefund;
    }

    public Date getcEndDate() {
        return cEndDate;
    }

    public void setcEndDate(Date cEndDate) {
        this.cEndDate = cEndDate;
    }

    public Long getcRefundPayment() {
        return cRefundPayment;
    }

    public void setcRefundPayment(Long cRefundPayment) {
        this.cRefundPayment = cRefundPayment;
    }

    public String getcChecker() {
        return cChecker;
    }

    public void setcChecker(String cChecker) {
        this.cChecker = cChecker;
    }

    public String getcRemark() {
        return cRemark;
    }

    public void setcRemark(String cRemark) {
        this.cRemark = cRemark;
    }

    public List<Patient> getPatientList() {
        return patientList;
    }

    public void setPatientList(List<Patient> patientList) {
        this.patientList = patientList;
    }
}
